home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 15 / 015.d81 / june play-2 < prev    next >
Text File  |  2022-08-26  |  2KB  |  110 lines

  1.  COMAL PlayNOTES -- June 1985 Part II
  2.  ===== =========    ==== ==== ==== ==
  3.  
  4.          by:  Joel Ellis Rea
  5.  
  6.  
  7. -------------- June 27 ---------------
  8.  
  9.   Captain C couldn't make it, so the
  10.  
  11. others asked me to moderate this
  12.  
  13. meeting in his place. The first
  14.  
  15. subject was COMAL 2.0 program
  16.  
  17. protection, specifically the
  18.  
  19. PROTECT64 program found on the COMAL
  20.  
  21. 2.0 Cartridge Demo Disk #3.
  22.  
  23.   One of the features of COMAL is the
  24.  
  25. ability, like the advanced versions of
  26.  
  27. Microsoft BASIC, to save a program in
  28.  
  29. a special 'protected' form on the disk
  30.  
  31. so that it will LOAD and RUN, but not
  32.  
  33. be able to be LISTed or modified.  In
  34.  
  35. Microsoft BASIC, this is done by a
  36.  
  37. 'SAVE "filename.ext",P' command, where
  38.  
  39. the ',P' specifies Protected SAVE.
  40.  
  41. COMAL has no such command, but the
  42.  
  43. UniCOMAL guys supplied PROTECT64, a
  44.  
  45. COMAL program to do the task.  Since
  46.  
  47. the encryption scheme would be of very
  48.  
  49. small value were the algorithm to
  50.  
  51. become public knowledge, PROTECT64 is
  52.  
  53. itself protected!  CUGUSA has offered
  54.  
  55. a reward to the first person to send
  56.  
  57. them a source listing of PROTECT64,
  58.  
  59. but so far no one has succeeded.
  60.  
  61.   Anyway, a protected program LOADs
  62.  
  63. and RUNs just like the original.  It
  64.  
  65. uses less room on the disk and in
  66.  
  67. memory, since the name table and other
  68.  
  69. info needed only by the LIST command
  70.  
  71. and the editor are removed.  When a
  72.  
  73. protected program is LOADed, a flag
  74.  
  75. is set that causes any attempt to use
  76.  
  77. a LIST, DISPLAY, POKE or any names
  78.  
  79. (such as Packages) to be greeted with
  80.  
  81. a 'Source Protected !!!' message.
  82.  
  83. This is good news for those who would
  84.  
  85. like to publish programs in COMAL,
  86.  
  87. but would like to keep their
  88.  
  89. programming 'tricks' a secret!
  90.  
  91.   We also discussed the Star Micronics
  92.  
  93. SG-10C.  It appears to be fully
  94.  
  95. compatible with the 1526 (MPS-802),
  96.  
  97. NOT the SG-10, the 1525, the MPS-801/3
  98.  
  99. or any of the interfaces!  That means
  100.  
  101. it does NOT support the nice print
  102.  
  103. sizes and styles which made the SG-10
  104.  
  105. (formerly the Gemini-10x) famous!
  106.  
  107.  
  108. ----------- End of Article -----------
  109.  
  110.